package com.cryrabbit.yyystitp.ui.presenters;

import com.cryrabbit.yyystitp.net.PushHttpMethods;
import com.cryrabbit.yyystitp.ui.iviews.Iview;

/**
 * Created by CryRabbit on 2016/11/4.
 */

public class SendPresenter {
    Iview iview;
    PushHttpMethods pushHttpMethods;
    public SendPresenter(Iview iview){
        this.iview=iview;
        pushHttpMethods=new PushHttpMethods();
    }
    public void send(String user,String title,String content){
        /*pushHttpMethods.getNet(new Subscriber<String>() {
            @Override
            public void onCompleted() {

            }

            @Override
            public void onError(Throwable e) {

            }

            @Override
            public void onNext(String s) {
                iview.getResult(s);
            }
        },user,title,content);*/
    }
}
